dxp-ux

(0 reviews)

listCustomerBill (TMF-678)

[GET]

The customerBill API provides below features,

#listCustomerBill#: This operation list customer bill entities from "ARIA, LIBERATE, CERILLION, CSG".

listCustomerBill

URL

http://[localhost]:[port]/dxp-ux/v1/{businessId}/customerBill

URL PARAMS

nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code
Ex: PR, JM, PA
Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction
Minimum characters: 1
N
It is mandatory for business
lobstringThe Line of Business Identifier currently available are: FIXED, POSTPAID
Note : POSTPAID is mandatory for PR Aria and FIXED for PR Csg customers, Optional for JM
Y
channelIdstringThis is to identify the source (Project).
Value : APP
Y

Query Param

nametypedescriptionrequired
accountIdstringThis is billing account number which is unique for the customerY
startDatestringThis is startDate for bills retrieval time period.
Expected format : yyyy-MM-dd, Eg: 2021-09-16
Note: For Aria backend system we should have pass startDate as Mandatory,
Start Date of Bill Period. Not applicable for 12 months bill (from Evertec+csg), when pdfId=true
startDate is not applicable for FIXED Line (CSG)
N
endDatestringThis is endDate for bills retrieval time period.
Expected format : yyyy-MM-dd, Eg: 2021-09-16
Note: For Aria backend system we should have pass endDate as Mandatory,
End Date of Bill Period. Not applicable for 12 months bill (from Evertec+csg), when pdfId=true
endDate is not applicable for FIXED Line (CSG)
N
pdfIdbooleanFlag to indicate that request is to retrieve the 12 months bill(3 months from csg and 9 months from evertec) and PDF Id will be available in billDocument.id, if value is true. If value is false, retrieve 3 months bill from csg.N

Note :

To fetch CustomerBill from PR Csg customers need to pass lob as "FIXED"

To fetch CustomerBill from PR Customers in Aria need to lob as "POSTPAID"

To fetch CustomerBill from JM Customers for Liberate and Cerillion need to pass businessId as "JM"

RESPONSE BODY FOR listCustomerBill - CSG FIXED

12 months bill from CSG and Evertec:

Note: Evertec 9 months bill contains, PDF id and bill date. AccountId Mapped from the request. billDocument.mimeType and billingAccount.@referredType are hardcoded values.

[
    {
        "id": "77751A00044743P0",
        "href": "https://esb.lla.com/customerBillManagement/customerBill/77751A00044743P0",
        "billNo": "77751A00044743P0",
        "runType": "onCycle",
        "category": "normal",
        "state": "due",
        "lastUpdate": "2022-09-09T00:00:00.000Z",
        "billDate": "2022-09-05T00:00:00.000Z",
        "nextBillDate": "2022-10-04T00:00:00.000Z",
        "billingPeriod": {
            "endDateTime": "2022-10-04T00:00:00.000Z",
            "startDateTime": "2022-09-05T00:00:00.000Z"
        },
        "amountDue": {
            "value": 16.44,
            "unit": "USD"
        },
        "accountBalance": [
            {
                "amount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "type": "BeginningBalance"
            }
        ],
        "paymentDueDate": "2022-09-25T00:00:00.000Z",
        "remainingAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "taxIncludedAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "@baseType": "bill",
        "@type": "customerBill",
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "payment": {
                    "id": "8779190000000010",
                    "paymentDate": "2022-08-09T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "8211990051069995",
            "href": "https://esb.lla.com/accountManagement/billingAccount/8211990051069995",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "billingAccount"
        },
        "taxItem": [
            {
                "taxCategory": "IVU ESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.53,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "IVU MUNICIPAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.05,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO POR SERVICIO DE 911 RESIDENCIAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.50,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.06,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.30,
                    "unit": "USD"
                }
            }
        ],
        "relatedParty": [
            {
                "href": "https://esb.lla.com/partyManagement/individual/500",
                "role": "issuer",
                "id": "500",
                "name": "LCPR",
                "@referredType": "organizationParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "billReceiver",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "payer",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            }
        ],
        "financialAccount": {
            "id": "15",
            "href": "https://esb.lla.com/accountManagement/financialAccount/15",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "financialAccount"
        },
        "billDocument": [
            {
                "id": "207570529",
                "mimeType": "application/pdf"
            }
        ]
    },
    {
        "id": "77782A00045229P0",
        "href": "https://esb.lla.com/customerBillManagement/customerBill/77782A00045229P0",
        "billNo": "77782A00045229P0",
        "runType": "onCycle",
        "category": "normal",
        "state": "due",
        "lastUpdate": "2022-09-09T00:00:00.000Z",
        "billDate": "2022-08-05T00:00:00.000Z",
        "nextBillDate": "2022-09-04T00:00:00.000Z",
        "billingPeriod": {
            "endDateTime": "2022-09-04T00:00:00.000Z",
            "startDateTime": "2022-08-05T00:00:00.000Z"
        },
        "amountDue": {
            "value": 16.44,
            "unit": "USD"
        },
        "accountBalance": [
            {
                "amount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "type": "BeginningBalance"
            }
        ],
        "paymentDueDate": "2022-08-25T00:00:00.000Z",
        "remainingAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "taxIncludedAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "@baseType": "bill",
        "@type": "customerBill",
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "payment": {
                    "id": "8779290000000010",
                    "paymentDate": "2022-07-09T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "8211990051069995",
            "href": "https://esb.lla.com/accountManagement/billingAccount/8211990051069995",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "billingAccount"
        },
        "taxItem": [
            {
                "taxCategory": "IVU ESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.53,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "IVU MUNICIPAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.05,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO POR SERVICIO DE 911 RESIDENCIAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.50,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.06,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.30,
                    "unit": "USD"
                }
            }
        ],
        "relatedParty": [
            {
                "href": "https://esb.lla.com/partyManagement/individual/500",
                "role": "issuer",
                "id": "500",
                "name": "LCPR",
                "@referredType": "organizationParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "billReceiver",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "payer",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            }
        ],
        "financialAccount": {
            "id": "15",
            "href": "https://esb.lla.com/accountManagement/financialAccount/15",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "financialAccount"
        },
        "billDocument": [
            {
                "id": "205495579",
                "mimeType": "application/pdf"
            }
        ]
    },
    {
        "id": "77813A00044768P0",
        "href": "https://esb.lla.com/customerBillManagement/customerBill/77813A00044768P0",
        "billNo": "77813A00044768P0",
        "runType": "onCycle",
        "category": "normal",
        "state": "due",
        "lastUpdate": "2022-09-09T00:00:00.000Z",
        "billDate": "2022-07-05T00:00:00.000Z",
        "nextBillDate": "2022-08-04T00:00:00.000Z",
        "billingPeriod": {
            "endDateTime": "2022-08-04T00:00:00.000Z",
            "startDateTime": "2022-07-05T00:00:00.000Z"
        },
        "amountDue": {
            "value": 16.44,
            "unit": "USD"
        },
        "accountBalance": [
            {
                "amount": {
                    "value": 15.32,
                    "unit": "USD"
                },
                "type": "BeginningBalance"
            }
        ],
        "paymentDueDate": "2022-07-25T00:00:00.000Z",
        "remainingAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "taxIncludedAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "@baseType": "bill",
        "@type": "customerBill",
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 15.32,
                    "unit": "USD"
                },
                "payment": {
                    "id": "8779390000000010",
                    "paymentDate": "2022-06-09T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "8211990051069995",
            "href": "https://esb.lla.com/accountManagement/billingAccount/8211990051069995",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "billingAccount"
        },
        "taxItem": [
            {
                "taxCategory": "IVU ESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.53,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "IVU MUNICIPAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.05,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO POR SERVICIO DE 911 RESIDENCIAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.50,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.06,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.30,
                    "unit": "USD"
                }
            }
        ],
        "relatedParty": [
            {
                "href": "https://esb.lla.com/partyManagement/individual/500",
                "role": "issuer",
                "id": "500",
                "name": "LCPR",
                "@referredType": "organizationParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "billReceiver",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "payer",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            }
        ],
        "financialAccount": {
            "id": "15",
            "href": "https://esb.lla.com/accountManagement/financialAccount/15",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "financialAccount"
        },
        "billDocument": [
            {
                "id": "203173532",
                "mimeType": "application/pdf"
            }
        ]
    },
    {
        "billDocument": [
            {
                "id": "200938297",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2022-06-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "198794524",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2022-05-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "196562582",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2022-04-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "194461865",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2022-03-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "192410076",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2022-02-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "189909502",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2022-01-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "187723933",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2021-12-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "185684934",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2021-11-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "183468746",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2021-10-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    },
    {
        "billDocument": [
            {
                "id": "181330966",
                "mimeType": "application/pdf"
            }
        ],
        "billDate": "2021-09-05T00:00:00-04:00",
        "billingAccount": {
            "id": "8211990051069995",
            "@referredType": "billingAccount"
        }
    }
]

3 months Bill from CSG:

[
    {
        "id": "77751A00044743P0",
        "href": "https://esb.lla.com/customerBillManagement/customerBill/77751A00044743P0",
        "billNo": "77751A00044743P0",
        "runType": "onCycle",
        "category": "normal",
        "state": "due",
        "lastUpdate": "2022-09-09T00:00:00.000Z",
        "billDate": "2022-09-05T00:00:00.000Z",
        "nextBillDate": "2022-10-04T00:00:00.000Z",
        "billingPeriod": {
            "endDateTime": "2022-10-04T00:00:00.000Z",
            "startDateTime": "2022-09-05T00:00:00.000Z"
        },
        "amountDue": {
            "value": 16.44,
            "unit": "USD"
        },
        "accountBalance": [
            {
                "amount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "type": "BeginningBalance"
            }
        ],
        "paymentDueDate": "2022-09-25T00:00:00.000Z",
        "remainingAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "taxIncludedAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "@baseType": "bill",
        "@type": "customerBill",
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "payment": {
                    "id": "8779190000000010",
                    "paymentDate": "2022-08-09T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "8211990051069995",
            "href": "https://esb.lla.com/accountManagement/billingAccount/8211990051069995",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "billingAccount"
        },
        "taxItem": [
            {
                "taxCategory": "IVU ESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.53,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "IVU MUNICIPAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.05,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO POR SERVICIO DE 911 RESIDENCIAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.50,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.06,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.30,
                    "unit": "USD"
                }
            }
        ],
        "relatedParty": [
            {
                "href": "https://esb.lla.com/partyManagement/individual/500",
                "role": "issuer",
                "id": "500",
                "name": "LCPR",
                "@referredType": "organizationParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "billReceiver",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "payer",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            }
        ],
        "financialAccount": {
            "id": "15",
            "href": "https://esb.lla.com/accountManagement/financialAccount/15",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "financialAccount"
        }
    },
    {
        "id": "77782A00045229P0",
        "href": "https://esb.lla.com/customerBillManagement/customerBill/77782A00045229P0",
        "billNo": "77782A00045229P0",
        "runType": "onCycle",
        "category": "normal",
        "state": "due",
        "lastUpdate": "2022-09-09T00:00:00.000Z",
        "billDate": "2022-08-05T00:00:00.000Z",
        "nextBillDate": "2022-09-04T00:00:00.000Z",
        "billingPeriod": {
            "endDateTime": "2022-09-04T00:00:00.000Z",
            "startDateTime": "2022-08-05T00:00:00.000Z"
        },
        "amountDue": {
            "value": 16.44,
            "unit": "USD"
        },
        "accountBalance": [
            {
                "amount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "type": "BeginningBalance"
            }
        ],
        "paymentDueDate": "2022-08-25T00:00:00.000Z",
        "remainingAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "taxIncludedAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "@baseType": "bill",
        "@type": "customerBill",
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 16.44,
                    "unit": "USD"
                },
                "payment": {
                    "id": "8779290000000010",
                    "paymentDate": "2022-07-09T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "8211990051069995",
            "href": "https://esb.lla.com/accountManagement/billingAccount/8211990051069995",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "billingAccount"
        },
        "taxItem": [
            {
                "taxCategory": "IVU ESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.53,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "IVU MUNICIPAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.05,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO POR SERVICIO DE 911 RESIDENCIAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.50,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.06,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.30,
                    "unit": "USD"
                }
            }
        ],
        "relatedParty": [
            {
                "href": "https://esb.lla.com/partyManagement/individual/500",
                "role": "issuer",
                "id": "500",
                "name": "LCPR",
                "@referredType": "organizationParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "billReceiver",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "payer",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            }
        ],
        "financialAccount": {
            "id": "15",
            "href": "https://esb.lla.com/accountManagement/financialAccount/15",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "financialAccount"
        }
    },
    {
        "id": "77813A00044768P0",
        "href": "https://esb.lla.com/customerBillManagement/customerBill/77813A00044768P0",
        "billNo": "77813A00044768P0",
        "runType": "onCycle",
        "category": "normal",
        "state": "due",
        "lastUpdate": "2022-09-09T00:00:00.000Z",
        "billDate": "2022-07-05T00:00:00.000Z",
        "nextBillDate": "2022-08-04T00:00:00.000Z",
        "billingPeriod": {
            "endDateTime": "2022-08-04T00:00:00.000Z",
            "startDateTime": "2022-07-05T00:00:00.000Z"
        },
        "amountDue": {
            "value": 16.44,
            "unit": "USD"
        },
        "accountBalance": [
            {
                "amount": {
                    "value": 15.32,
                    "unit": "USD"
                },
                "type": "BeginningBalance"
            }
        ],
        "paymentDueDate": "2022-07-25T00:00:00.000Z",
        "remainingAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "taxIncludedAmount": {
            "value": 16.44,
            "unit": "USD"
        },
        "@baseType": "bill",
        "@type": "customerBill",
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 15.32,
                    "unit": "USD"
                },
                "payment": {
                    "id": "8779390000000010",
                    "paymentDate": "2022-06-09T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "8211990051069995",
            "href": "https://esb.lla.com/accountManagement/billingAccount/8211990051069995",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "billingAccount"
        },
        "taxItem": [
            {
                "taxCategory": "IVU ESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.53,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "IVU MUNICIPAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.05,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO POR SERVICIO DE 911 RESIDENCIAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.50,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO LOCAL DE SERVICIO UNIVERSAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.06,
                    "unit": "USD"
                }
            },
            {
                "taxCategory": "CARGO SERVICIO UNIVERSAL INTERESTATAL",
                "taxRate": 0.00,
                "taxAmount": {
                    "value": 0.30,
                    "unit": "USD"
                }
            }
        ],
        "relatedParty": [
            {
                "href": "https://esb.lla.com/partyManagement/individual/500",
                "role": "issuer",
                "id": "500",
                "name": "LCPR",
                "@referredType": "organizationParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "billReceiver",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            },
            {
                "href": "https://esb.lla.com/partyManagement/individual/710",
                "role": "payer",
                "id": "710",
                "name": "NEDDY ACEVEDO DAVILA",
                "@referredType": "individualParty"
            }
        ],
        "financialAccount": {
            "id": "15",
            "href": "https://esb.lla.com/accountManagement/financialAccount/15",
            "name": "NEDDY ACEVEDO DAVILA",
            "@referredType": "financialAccount"
        }
    }
]

RESPONSE BODY FOR listCustomerBill - Aria POSTPAID


[
    {
        "id": "1197482673",
        "billNo": "2095132367",
        "category": "Anniversary Period Invoice",
        "state": "onHold",
        "lastUpdate": "2021-11-29T00:00:00+00:00",
        "billDate": "2023-04-18T00:00:00+00:00",
        "nextBillDate": "2021-12-28T00:00:00+00:00",
        "paymentDueDate": "2023-05-03T00:00:00+00:00",
        "billingPeriod": {
            "endDateTime": "2021-11-28T00:00:00+00:00",
            "startDateTime": "2021-10-29T00:00:00+00:00"
        },
        "amountDue": {
            "value": 146.66,
            "unit": "usd"
        },
        "remainingAmount": {
            "value": 156.66,
            "unit": "usd"
        },
        "taxIncludedAmount": {
            "unit": "usd",
            "value": 186.66
        },
        "@baseType": "bill",
        "@type": "CustomerBill",
        "billingAccount": {
            "id": "20221124-00060001",
            "@type": "BillingAccount"
        },
        "appliedPayment": [
            {
                "appliedAmount": {
                    "value": 196.66,
                    "unit": "usd"
                }
            }
        ],
        "relatedParty": [
            {
                "id": "33218056",
                "@type": "AriaAccount"
            },
            {
                "id": "20221124-00060001_BG_001",
                "@type": "BillingGroup"
            }
        ]
    }
]
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
idstringThe Aria-assigned unique identifier of a given invoice.N
billNostringThe unique statement number that is sequenced across all statements (not limited to xml only).N
categorystringThis field identifies the type of the invoice generatedN
statestringStatus of the invoice, Possible values will be "onHold, new, settled"N
lastUpdatestringThe recurring bill-from date.N
billDatestringThe date the invoice was billed.N
nextBillDatestringThe recurring bill-through date.N
paymentDueDatestringThe date monies are due.N
billingPeriodobjectA time period.N
billingPeriod.endDateTimedatetimeThe usage bill-through date of the invoiceN
billingPeriod.startDateTimedatetimeThe usage bill from date.N
amountDueobjectA moneyN
amountDue.valuestringTotal amount of the statement.N
amountDue.unitstringThe 3-character ISO-compliant currency code in lowercase for monetary values used in the context of this API method.N
remainingAmountobjectA moneyN
remainingAmount.valuestringThe monetary amount to apply as balance forward.N
remainingAmount.unitstringThe 3-character ISO-compliant currency code in lowercase for monetary values used in the context of this API method.N
taxIncludedAmountobjectA moneyN
taxIncludedAmount.valuestringThe monetary amount of new charges detailed in the statement.N
taxIncludedAmount.unitstringThe 3-character ISO-compliant currency code in lowercase for monetary values used in the context of this API method.N
@baseTypestringWhen sub-classing, this defines the super-classN
@typestringWhen sub-classing, this defines the sub-class Extensible name.N
billingAccountobjectBillingAccount referenceN
billingAccount.idstringThis is the client-assigned identifier for the account.N
billingAccount.@typestringWhen sub-classing, this defines the sub-class Extensible name.N
appliedPaymentarrayA list of applied paymentsN
appliedPayment.appliedAmountobjectA moneyN
appliedPayment.appliedAmount.valueobjectThe monetary amount of any new payments applied in this statementN
appliedPayment.appliedAmount.unitobjectThe 3-character ISO-compliant currency code in lowercase for monetary values used in the context of this API method.N
relatedPartyobjectA related partyN
relatedParty.idobjectAria-assigned account identifier. This value is unique across all Aria-managed accounts.N
relatedParty.@typeobjectWhen sub-classing, this defines the sub-class Extensible

name. | N |

RESPONSE BODY FOR listCustomerBill - JM LIBERATE


[
    {
        "id": "0",
        "billNo": "2022021",
        "billDate": "2022-03-03T23:59:59.000Z",
        "paymentDueDate": "2022-03-23T00:00:00.000Z",
        "amountDue": {
            "unit": "JMD",
            "value": 2649.66
        },
        "appliedPayment": [
            {
                "appliedAmount": {
                    "unit": "JMD",
                    "value": 0
                }
            },
            {
                "payment": {
                    "paymentDate": "9999-12-31T00:00:00.000Z",
                    "@referredType": "payment"
                }
            }
        ],
        "billingAccount": {
            "id": "860019440000",
            "@referredType": "billingAccount"
        },
        "financialAccount": {
            "id": "860019440000",
            "@referredType": "financialAccount",
            "accountBalance": [
                {
                    "balanceType": "balanceBroughtForward",
                    "amount": {
                        "unit": "JMD",
                        "value": -336.13
                    }
                },
                {
                    "balanceType": "balanceCarriedForward",
                    "amount": {
                        "unit": "JMD",
                        "value": 2313.53
                    }
                },
                {
                    "balanceType": "billAdjustmentAmount",
                    "amount": {
                        "unit": "JMD",
                        "value": 0
                    }
                }
            ]
        },
        "remainingAmount": {
            "unit": "JMD",
            "value": 2313.53
        },
        "taxIncludedAmount": {
            "unit": "JMD",
            "value": 2649.66
        },
        "taxExcludedAmount": {
            "unit": "JMD",
            "value": 0
        },
        "taxItem": [
            {
                "taxCategory": "queryTaxAmount",
                "taxAmount": {
                    "unit": "JMD",
                    "value": 0
                }
            }
        ],
        "characteristic": [
            {
                "name": "queryAmount",
                "value": 0,
                "valueType": "JMD"
            },
            {
                "name": "adjustAmount",
                "value": 0,
                "valueType": "JMD"
            }
        ],
        "@baseType": "bill",
        "@type": "customerBill"
    }
]

RESPONSE BODY FOR listCustomerBill - JM CERILLION


[
    {
        "id": "28372884",
        "billNo": "28372884",
        "billDate": "2022-02-13T00:00:00.000Z",
        "amountDue": {
            "value": 8039.2,
            "unit": "JMD"
        },
        "appliedPayment": {
            "appliedAmount": {
                "value": 0,
                "unit": "JMD"
            },
            "payment": {
                "id": "28372884",
                "paymentDate": "0001-01-01T00:00:00.000Z",
                "@referredType": "payment"
            }
        },
        "paymentDueDate": "2022-03-12T00:00:00.000Z",
        "taxIncludedAmount": {
            "value": 8039.2,
            "unit": "JMD"
        },
        "remainingAmount": {
            "value": 0,
            "unit": "JMD"
        },
        "relatedParty": [
            {
                "id": "118962",
                "name": "MARVA STUPART"
            }
        ],
        "billingAccount": {
            "id": "50146303",
            "@referredType": "billingAccount"
        },
        "characteristic": [
            {
                "name": "adjustAmount",
                "value": -250,
                "valueType": ""
            },
            {
                "name": "adjustAmount",
                "value": -51.16,
                "valueType": ""
            },
            {
                "name": "adjustAmount",
                "value": -107.05,
                "valueType": ""
            },
            {
                "name": "adjustAmount",
                "value": 0,
                "valueType": ""
            },
            {
                "name": "currentBalance",
                "value": 8098.31,
                "valueType": ""
            }
        ],
        "financialAccount": {
            "accountBalance": [
                {
                    "balanceType": "balanceBroughtForward",
                    "amount": {
                        "unit": "JMD",
                        "value": 7340.89
                    }
                },
                {
                    "balanceType": "balanceCarriedForward",
                    "amount": {
                        "unit": "JMD",
                        "value": 8039.2
                    }
                },
                {
                    "balanceType": "billOutstandingBalance",
                    "amount": {
                        "unit": "JMD",
                        "value": 8039.2
                    }
                },
                {
                    "balanceType": "totalBillableAmount",
                    "amount": {
                        "unit": "JMD",
                        "value": 8039.2
                    }
                }
            ]
        },
        "@baseType": "bill",
        "@type": "customerBill"
    },
    {
        "id": "28151082",
        "billNo": "28151082",
        "billDate": "2022-01-13T00:00:00.000Z",
        "amountDue": {
            "value": 7340.89,
            "unit": "JMD"
        },
        "appliedPayment": {
            "appliedAmount": {
                "value": 7340.89,
                "unit": "JMD"
            },
            "payment": {
                "id": "28151082",
                "paymentDate": "2022-02-03T00:00:00.000Z",
                "@referredType": "payment"
            }
        },
        "paymentDueDate": "2022-02-09T00:00:00.000Z",
        "taxIncludedAmount": {
            "value": 7340.89,
            "unit": "JMD"
        },
        "remainingAmount": {
            "value": 0,
            "unit": "JMD"
        },
        "relatedParty": [
            {
                "id": "118962",
                "name": "MARVA STUPART"
            }
        ],
        "billingAccount": {
            "id": "50146303",
            "@referredType": "billingAccount"
        },
        "characteristic": [
            {
                "name": "adjustAmount",
                "value": -250,
                "valueType": ""
            },
            {
                "name": "adjustAmount",
                "value": -3.71,
                "valueType": ""
            },
            {
                "name": "adjustAmount",
                "value": -10.11,
                "valueType": ""
            },
            {
                "name": "adjustAmount",
                "value": 0,
                "valueType": ""
            },
            {
                "name": "currentBalance",
                "value": 8079.38,
                "valueType": ""
            }
        ],
        "financialAccount": {
            "accountBalance": [
                {
                    "balanceType": "balanceBroughtForward",
                    "amount": {
                        "unit": "JMD",
                        "value": 8261.51
                    }
                },
                {
                    "balanceType": "balanceCarriedForward",
                    "amount": {
                        "unit": "JMD",
                        "value": 0
                    }
                },
                {
                    "balanceType": "billOutstandingBalance",
                    "amount": {
                        "unit": "JMD",
                        "value": 0
                    }
                },
                {
                    "balanceType": "totalBillableAmount",
                    "amount": {
                        "unit": "JMD",
                        "value": 8039.2
                    }
                }
            ]
        },
        "@baseType": "bill",
        "@type": "customerBill"
    }
]
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
idstringUnique identifier of the billY
hrefstringBill unique referenceN
billDatedatetimeBill dateN
billNostringBill reference known by the customer or the party and displayed on the bill. Could be different from the idN
categorystringCategory of the bill produced : normal, duplicate, interim, last, trial customer or credit note for exampleN
lastUpdatedatetimeDate of bill last updateN
nextBillDatedatetimeApproximate date of the next bill production given for information (only used for onCycle bill)N
paymentDueDatedatetimeDate at which the amount due should have been paid. In case DueDateMessage from csg is "ON RECPT"/ "UPON RECPT" indicates immediate payment, current date is mapped to DueDateN
runTypestringonCycle (a bill can be created as a result of a cycle run) or offCycle (a bill can be created as a result of other events such as customer request or account close)N
amountDueobjectN
amountDue.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
amountDue.valuenumberA positive floating point numberN
accountBalancearrayBalances linked to the accountN
accountBalance.amountobjectBalance amountN
accountBalance.balanceTypestringType of the balance - Previous Balance, deposit balance, disputed balance, loyalty balance, receivable balance...Default value is "BeginningBalance"N
accountBalance.amount.valuenumberA floating point numberN
accountBalance.amount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
accountBalance.validForobjectThe period of time for which the attachment is valid. Not in scopeN
accountBalance.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
accountBalance.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
appliedPaymentarrayThe applied payment is the result of lettering process. It enables to assign automatically or manually part of incoming payment amount to a bill.N
appliedPayment.appliedAmountobjectN
appliedPayment.appliedAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
appliedPayment.appliedAmount.valuenumberA positive floating point numberN
appliedPayment.paymentobjectA EntityRef is a detailed description of a bill structure.N
appliedPayment.payment.idstringUnique identifier for the EntityRefN
appliedPayment.payment.hrefstringReference of the EntityRefN
appliedPayment.payment.namestringName of the EntityReN
appliedPayment.payment.@baseTypestringWhen sub-classing, this defines the super-classN
appliedPayment.payment.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
appliedPayment.payment.@typestringWhen sub-classing, this defines the sub-class entity nameN
appliedPayment.payment.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
appliedPayment.@baseTypestringWhen sub-classing, this defines the super-classN
appliedPayment.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
appliedPayment.@typestringWhen sub-classing, this defines the sub-class entity nameN
billDocumentarrayAn attachment by value or by reference. For AttachmentRefOrValue, the attribute type,schemaLocation and referredType are related to the contained entity and not to AttchmentRefOrValue itself. Not in scope for list customerBillN
billDocument.idstringUnique identifier for this particular attachmentN
billDocument.hrefstringURI for this AttachmentN
billDocument.attachmentTypestringAttachment type such as video, pictureN
billDocument.contentstringThe actual contents of the attachment object, if embedded, encoded as base64N
billDocument.descriptionstringA narrative text describing the content of the attachmentN
billDocument.mimeTypestringAttachment mime type such as extension file for video, picture and documentN
billDocument.namestringThe name of the attachmentN
billDocument.@typestringWhen sub-classing, this defines the sub-class entity nameN
billDocument.contentstringThe actual contents of the attachment object, if embedded, encoded as base64N
billDocument.urlstringUniform Resource Locator, is a web page address (a subset of URI)N
billDocument.sizeObjectN
billDocument.size.amountnumberThe size of the attachment.N
billDocument.size.unitsstringUnit of the attachment. Eg: "bytes"N
billDocument.validForobjectThe period of time for which the attachment is validN
billDocument.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
billDocument.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
billingAccountobjectA EntityRef is a detailed description of a bill structure.N
billingAccount.idstringUnique identifier for the EntityRefN
billingAccount.hrefstringReference of the EntityRefN
billingAccount.namestringName of the EntityReN
billingAccount.@baseTypestringWhen sub-classing, this defines the super-classN
billingAccount.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
billingAccount.@typestringWhen sub-classing, this defines the sub-class entity nameN
billingAccount.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
billingPeriodobjectN
billingPeriod.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
billingPeriod.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
financialAccountobjectAccountReceivable reference. An account of money owed by a party to another entity in exchange for goods or services that have been delivered or used. An account receivable aggregates the amounts of one or more party accounts (billing or settlement) owned by a given party.N
financialAccount.idstringUnique identifier for the accountN
financialAccount.hrefstringReference of the accountN
financialAccount.namestringName of the accountN
financialAccount.accountBalanceobjectBalances linked to the accountN
financialAccount.@baseTypestringWhen sub-classing, this defines the super-classN
financialAccount.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
financialAccount.@typestringWhen sub-classing, this defines the sub-class entity nameN
financialAccount.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
financialAccount.accountBalance.balanceTypestringType of the balance ; deposit balance, disputed balance, loyalty balance, receivable balanceN
financialAccount.accountBalance.amountobjectN
financialAccount.accountBalance.amount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
financialAccount.accountBalance.amount.valuenumberA positive floating point numberN
financialAccount.accountBalance.validForObjectA period of timeN
financialAccount.accountBalance.validFor.endDateTimedatetimeEnd of the time period, using IETC-RFC-3339 formatN
financialAccount.accountBalance.validFor.startDateTimedatetimeStart of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an endN
financialAccount.accountBalance.@baseTypestringWhen sub-classing, this defines the super-classN
financialAccount.accountBalance.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
financialAccount.accountBalance.@typestringWhen sub-classing, this defines the sub-class entity nameN
paymentMethodobjectNot in scope for this resource.N
paymentMethod.idstringUnique identifier for the EntityRefN
paymentMethod.hrefstringReference of the EntityRefN
paymentMethod.namestringName of the EntityReN
paymentMethod.@baseTypestringWhen sub-classing, this defines the super-classN
paymentMethod.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
paymentMethod.@typestringWhen sub-classing, this defines the sub-class entity nameN
paymentMethod.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
relatedPartyarrayRelated Entity reference. A related party defines party or party role linked to a specific entityN
relatedParty.idstringUnique identifier for the related entity.N
relatedParty.hrefstringReference of the related entity.N
relatedParty.namestringName of the related entity.N
relatedParty.rolestringRole played by the related partyN
relatedParty.@baseTypestringWhen sub-classing, this defines the super-classN
relatedParty.@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
relatedParty.@typestringWhen sub-classing, this defines the sub-class entity nameN
relatedParty.@referredTypestringThe actual type of the target instance when needed for disambiguation.N
remainingAmountObjectN
remainingAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
remainingAmount.valuenumberA positive floating point numberN
statestringenum:
- new
- onHold
- validated
- sent
- partiallyPaid
- settled
- due
- paid
Y
taxExcludedAmountobjectNot in scope.N
taxExcludedAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
taxExcludedAmount.valuenumberA positive floating point numberN
taxIncludedAmountobjectN
taxIncludedAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
taxIncludedAmount.valuenumberA positive floating point numberN
taxItemarrayN
taxItem.taxCategorystringtax CategoryN
taxItem.taxRatenumberApplied rate of the taxN
taxItem.taxAmountObjectAmount of tax expressed in the given currencyN
taxItem.taxAmount.unitstringCurrency (ISO4217 norm uses 3 letters to define the currency)N
taxItem.taxAmount.valuenumberA positive floating point numberN
@baseTypestringWhen sub-classing, this defines the super-classN
@schemaLocationstringA URI to a JSON-Schema file that defines additional attributes and relationshipsN
@typestringWhen sub-classing, this defines the sub-class entity nameN

Possible Error Scenarios: :

IF WE ARE PASSING INVALID (accountId) NUMBER IN QUERYPARAMS
{
    "errors": [
        {
            "code": 400,
            "message": "ARIA:INVOICE_HISTORY",
            "description": "1009 | account does not exist"
        }
    ]
}


{
    "errors": [
        {
            "code": 404,
            "message": "** CIP09W - UNABLE TO XREF SUB PREFIX For ACCOUNTNO : 8211990010042298",
            "description": "2099   ** CIP09W - UNABLE TO XREF SUB PREFIX"
        }
    ]
}



{
    "errors": [
        {
            "code": 404,
            "message": "Liberate : Customer bill history not found for account no: 860019440001",
            "description": "NOACCTSFOUND-No Accounts Found."
        }
    ]
}
IF WE ARE PASSING BLANK (startDate) IN QUERYPARAMS
{
    "errors": [
        {
            "code": 400,
            "message": "VALIDATION:BLANK_STRING",
            "description": "Start Date cannot be blank"
        }
    ]
}
IF WE ARE PASSING BLANK (endDate) IN QUERYPARAMS
{
    "errors": [
        {
            "code": 400,
            "message": "VALIDATION:BLANK_STRING",
            "description": "End Date cannot be blank"
        }
    ]
}
INVALID URL
{
    "errors": [
        {
            "code": 405,
            "message": "APIKIT:METHOD_NOT_ALLOWED",
            "description": "HTTP Method get not allowed for : /{businessId}"
        }
    ]
}
INVALID LOB
{
    "errors": [
        {
            "code": 400,
            "message": "ERROR:LOB_VALIDATION",
            "description": "Lob must be of type POSTPAID"
        }
    ]
}

Reviews